<div class="frmRegister">

    <fieldset>
          <legend>Apply for Complaint:</legend>
          <?php echo form_open('customer/submit_complain')?>
             <p>
            <label for="address">Category:</label>
            <select   name="category" id="category" title="category">
                    <option selected="" value="">- Select One -</option>
                    <?php foreach ($category as $e)
                    echo "<option value='$e->category'>".$e->category.'</option>';
                    ?>
           </select>
          </p>
          <p id="fault" style="padding-left: 80px">
              
            
          </p>
          <p id="other">
              <label>Description:</label>
              <textarea name="other"></textarea>
          </p>
          <p >
              <label>Since:</label>
              <input  type="text" id="since" name="since">
          </p>
          <input type="submit" value="Submit" id="submit"style="margin-left: 200px">

          <?php echo form_close()?>
      </fieldset>


</div>
